package com.lzw.breezeNovel.webApp.service.user;

import com.lzw.breezeNovel.model.entity.pojo.user.UserAtten;
import com.lzw.breezeNovel.model.entity.query.PaginationResultQuery;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.webApp.service.user
 * @date 2025/3/25
 * @description
 */
@SuppressWarnings("all")
public interface UserAttenService {

    /**
     * 添加关注
     * @param userId
     * @param ortherId
     */
    void add(Long userId, Long ortherId);

    /**
     * 取消关注
     * @param userId
     * @param ortherId
     */
    void del(Long userId, Long ortherId);

    /**
     * 关注列表
     * @param pageNo
     * @param size
     * @return
     */
    PaginationResultQuery<UserAtten> list(Integer pageNo, Integer size);
}
